﻿<%@ Page Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master"
    AutoEventWireup="true" CodeFile="ProviderCarMake.aspx.cs" Inherits="Provider_CarInsurance_ProviderCarMake"
    Title="Car Make" %>
    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>Add/Edit Car Make <asp:Label ID="lblProviderCarMakeId" runat="server"></asp:Label></h1>
		<fieldset>
            <dl>
        	    <dt><label>CX Car Make Description</label></dt>
                <dd>
                    <asp:DropDownList ID="ddlCXCarMake" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCXCarMake_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvCoverType" runat="server" ControlToValidate="ddlCXCarMake"
                        ErrorMessage="Select car make." ValidationGroup="carmake" InitialValue="-1"></asp:RequiredFieldValidator>
                </dd>
            </dl>
            <dl>
        	    <dt><label>My Car Make Description</label></dt>
                <dd>
                    <asp:TextBox ID="txtMyCarMakeDescription" runat="server" MaxLength="50" Width="350px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCoverType0" runat="server" ControlToValidate="txtMyCarMakeDescription"
                        ErrorMessage="Enter description." ValidationGroup="carmake"></asp:RequiredFieldValidator>
                </dd>
            </dl>
            <dl>
        	    <dt><label>Status</label></dt>
                <dd>
                    <asp:CheckBox ID="chkStatus" runat="server" />
                </dd>
            </dl>
            <dl>
        	    <dt><label>Auth Code</label></dt>
                <dd>
                    <asp:TextBox ID="txtAuthCode" runat="server" TextMode="Password" MaxLength="12" Width="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAuthCode" runat="server" ControlToValidate="txtAuthCode"
                        ErrorMessage="Enter auth code." ValidationGroup="carmake"></asp:RequiredFieldValidator>
                </dd>
            </dl>
    	</fieldset>
        <fieldset class="action">
            <asp:ImageButton OnClientClick="javascript:return confirm('Are you sure to go back?');"
                ID="ibtBack" runat="server" CssClass="left_btn" ImageUrl="~/Provider/images/buttons/back1.gif" OnClick="ibtBack_Click" />
            <asp:ImageButton ID="ibtSubmit" CssClass="float_btn" runat="server" ImageUrl="~/Provider/images/buttons/submit1.gif"
                OnClick="ibtSubmit_Click" ValidationGroup="carmake" />
            <asp:ImageButton ID="btnNew" runat="server" CssClass="floatnext_btn" runat="server" ImageUrl="~/Provider/images/buttons/new1.gif" OnClick="btnNew_Click" />
            <asp:ImageButton ID="btnDelete" CssClass="floatnext_btn" runat="server" ImageUrl="~/Provider/images/buttons/delete1.gif" OnClick="btnDelete_Click" />
        </fieldset>
        <asp:Label ID="lblMessage" runat="server"></asp:Label>
    </div>
</asp:Content>
